// 命名空间
var login = {};

// 所有代码
login.path = 'modules/main/login/';
login.srcPath = login.path + 'src/';
login.src = [
    'modules/main/login/src/LoginBoard.js',
    'modules/main/login/src/LoginBtnUnit.js',
    'modules/main/login/src/GuestLoginBtnUnit.js',
    'modules/main/login/src/LiaoBeLoginBtnUnit.js',
    'modules/main/login/src/LiaoBeiLoginUnit.js',
    'modules/main/login/src/WeChatLoginBtnUnit.js',
    'modules/main/login/src/XianLiaoLoginBtnUnit.js',
    'modules/main/login/src/MianZeWindow.js'
];

// 所有资源
login.resPath = login.path + 'res/';
login.res = {
    LoginBoard_json: 'modules/main/login/res/LoginBoard.json',
    GuestBtnUnit_json: 'modules/main/login/res/GuestBtn.json',
    LiaoBeBtnUnit_json: 'modules/main/login/res/LiaoBeBtn.json',
    WeChatBtnUnit_json: 'modules/main/login/res/WeChatBtn.json',
    MianZe_json: 'modules/main/login/res/MianZe.json',
    XianLiaoBtnUnit_json: 'modules/main/login/res/XianLiaoBtn.json',

    vButtonClick: 'modules/main/login/res/music/button.mp3',
    bgMusic: 'modules/main/login/res/music/bgMusic.mp3',

    //huaihua_huaban1_plist: login.resPath + 'lizi/huaihua_huaban1.plist',
    //huaihua_huaban2_plist: login.resPath + 'lizi/huaihua_huaban2.plist',
    //huaihua_huaban3_plist: login.resPath + 'lizi/huaihua_huaban3.plist',
};

login.spines = [
    'dianji','meizi'
];

for (var i = 0; i < login.spines.length; i++) {
    login.res['sp_' + login.spines[i] + '_json'] = login.resPath + "spine/" + login.spines[i] + '/' + login.spines[i] + '.json';
    login.res['sp_' + login.spines[i] + '_atlas'] = login.resPath + "spine/" + login.spines[i] + '/' + login.spines[i] + '.atlas';
    login.res['sp_' + login.spines[i] + '_png'] = login.resPath + "spine/" + login.spines[i] + '/' + login.spines[i] + '.png';
}